<ul class='browse'>
	
<?PHP


foreach($category_data as $x)
{
	
	
	?>
	
	<li>

		<a href="watch/<?PHP echo $x["id"];?>/<?php echo convert_string_to_query($x['title']);?>">	
		<img src='<?PHP echo ap($x["thumb"]);?>' alt='<?php echo $x["title"];?>'></img>
		<br />
		<?php echo $x['title'];?>
		</a>
		<?php echo $x['secondary'];?>
		</li>
	<?PHP
}
?></ul>